#ifndef PATHDEFINE_H
#define PATHDEFINE_H


#define D_MAX_TASK_LIMIT 10 //总任务数量

#define YEAR_CONST    31536000  //365*24*60*60秒
#define MONTH_CONST   2592000  //30*24*60*60秒
#define DAY_CONST       86400  //24*60*60秒
#define HOUR_CONST      3600   //60*60秒
#define MINUTE_CONST     60    //60秒



#define CONTROLLER_IPADDRESS    "192.168.1.204"

#define GLOBAL_FILE_VALUE -1

#define MAX_THREAD  9

#define MICROSECOND_TIME 1000000.0

#define COORDINATE_MAX_SIZE 100

#define WEB_HMI_DIRECTORY_PATH "/agvwork/AgvFundation/WebHmiSources/"
#define D_TCRCONTROLLER_ROOT_PATH "/agvwork/AgvFundation/"


#define D_MAP_PATH "/agvwork/AgvFundation/fundation/data/robotData1/map/"
//#define D_MUSIC_PATH "/agvwork/AgvFundation/fundation/data/robotData1/music/"

#define D_TCRCONTROLLER_DATA_PATH "/agvwork/AgvFundation/fundation/data/"
#define D_TCRCONTROLLER_WORK_PATH "/agvwork/AgvFundation/fundation/"
//#define D_TCRCONTROLLER_DATA_PATH "/home/ftp/data/"
#define GLOBAL_SYSTEM_FILE    "globalConfig/systemInfo/systemInfo.dat"
#define GLOBAL_BASEDATA "globalConfig/systemInfo/baseData.ini"
#define GLOBAL_ROBOT_CONFIG     "globalConfig/robots.xml"
#define GLOBAL_DEVICE_USAGE_CONFIG     "globalConfig/deviceUsageConfig.ini"
#define GLOBAL_START_TYPE   "globalConfig/startType/startType.xml"
#define D_LASER_SCAN_DEVICE_CONFIG_FILE_PATH "globalConfig/rosConfig/laserScan.xml"
#define D_3DCAMERA_DEVICE_CONFIG_FILE_PATH "globalConfig/rosConfig/3dCamera.xml"
#define D_SOCKET_FLEET_CONFIG_FILE_PATH "globalConfig/fleetConfig/socketFleetConfig.xml"
#define D_PATH_PLANE_CONFIG_FILE_PATH "globalConfig/fleetConfig/pathPlanConfig.xml"
#define D_PATH_FLEETSERVICE_CONFIG_FILE_PATH "globalConfig/fleetConfig/fleetServiceConfig.xml"
#define D_MODBUS_MANAGER_CONFIG_FILE_PATH "globalConfig/modbusManager/modbusManagerConfig.xml"
#define D_JOYSTICK_CONFIG_FILE_PATH "globalConfig/joystick/joyStickConfig.xml"
#define MUSIC_FILEPATH "/agvwork/AgvFundation/fundation/data/robotData1/music/"
#define SYSTEM_MUSIC_FILEPATH "/agvwork/AgvFundation/fundation/data/robotData1/music/system/"
#define JOYSTICK_MUSIC_FILEPATH "/agvwork/AgvFundation/fundation/data/robotData1/music/joystick/"
#define D_IMU_DEVICE_CONFIG_PATH "globalConfig/ImuConfig/ImuConfig.xml"

#define IP_FILE   "/etc/network/interfaces"
#define MAC_FILE     "/etc/rc.local"
#define DNS_FILE    "/etc/resolvconf/resolv.conf.d/base"

//#define ROBOT_COMMON_PATH	"/agvwork/AgvFundation/fundation/data/"
#define ROBOT_COMMON_NAME	"robotData"
#define ROBOT_PROGRAM_FLODER	"/program/"
#define CONFIG_STRING   "/config/"
#define RSR_CONFIG_NAME "rsrConfig.xml"

#define PC_HARD_DISK_BACKUP_PATH "/agvwork/AgvFundation/controller_backup/"
#define PC_U_DISK_BACKUP_PATH "/agvwork/AgvFundation/controller_backup/"
#define TCR_CONTROLLER_BIN_PATH "/agvwork/AgvFundation/fundation/bin/"


#define D_ROS_CONFIG_FILE	"globalConfig/rosConfig/"
#define GLOBAL_REG_R_FILE	"globalConfig/globalRegFile/r_register.dat"
//#define GLOBAL_REG_PR_FILE	"globalConfig/globalRegFile/pr_register.dat"
//#define GLOBAL_REG_PL_FILE	"globalConfig/globalRegFile/pl_register.dat"
#define USER_INFO_MATH   "globalConfig/mathAuthority/mathUserInfo.xml"
#define LICENSE_FILE_MATH "globalConfig/mathAuthority/mathLicense.xml"

#endif // PATHDEFINE_H
